﻿@{
    ViewBag.Title = "Breadcrumb";
}
@using Sunboxsoft.Bases.Web
<ul class="breadcrumb">
    @foreach (var breadcrumb in ViewBag.Breadcrumbs)
    {
        if (breadcrumb.IsActived)
        {
            <li>
                <i class="@breadcrumb.Icon"></i>
                <a href="#">@breadcrumb.Text</a>
            </li>
        }
        else
        {
            <li>
                <i class="@breadcrumb.Icon"></i>
                <a href="@breadcrumb.LinkUrl">@breadcrumb.Text</a>
            </li>
        }
    }
</ul>
